Creating module properties

Hi, is there a way you can use DXL to create module properties? All I can find in the DXL manual is how to get information from the properties...

Thanks,
Sara
lumish - Tue May 22 06:18:05 EDT 2012

Re: Creating module properties
PDU - Tue May 22 07:53:23 EDT 2012

Hi,

which properties ?

if it is module attributs, use 'create'

AttrDef create(object
property value...
(default defVal)
attribute(string attrName))
Pierre

Re: Creating module properties
PDU - Tue May 22 07:56:17 EDT 2012

PDU - Tue May 22 07:53:23 EDT 2012
Hi,

which properties ?

if it is module attributs, use 'create'

AttrDef create(object
property value...
(default defVal)
attribute(string attrName))
Pierre

better :
 

AttrDef create(object
    property value...
    (default defVal)
    attribute(string attrName))

Re: Creating module properties
lumish - Tue May 22 08:07:30 EDT 2012

PDU - Tue May 22 07:56:17 EDT 2012

better :
 

AttrDef create(object
    property value...
    (default defVal)
    attribute(string attrName))

Ahh I see... I didn't realise Module Attributes were what was inside the Module Properties windows... I've tried your code and it all works great.

Thanks very much for your help!

Re: Creating module properties
llandale - Tue May 22 09:23:41 EDT 2012

"ModulePropterty" is the mechanism for reading module-level attributes without opening the module. If you want a new "property" you must edit the module and create a new module-level attribute, and save the module. "ModuleProperty" is not used in that case.

You use a "Camera" so you can see the table without opening the room, but you need a carpenter to create a new table.

-Louie